//package com.allwees.bs.module.mms.rest;
//
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.allwees.bs.core.modelbase.vo.R;
//import com.allwees.bs.module.core.rest.BoCrudApi;
//import com.allwees.bs.module.mms.entity.SupplierApply;
//import com.allwees.bs.module.mms.req.SupplierApplyAuditReq;
//import com.allwees.bs.module.mms.req.query.SupplierApplyQueryReq;
//import com.allwees.bs.module.mms.req.query.SupplierQueryApplyProgressReq;
//import com.allwees.bs.module.mms.service.SupplierApplyService;
//
///**
// * @author yangylsky
// * @since 2019-12-03
// */
//@RestController
//@RequestMapping("/backstage/api/mms/supplier_apply")
//public class SupplierApplyApi extends BoCrudApi<SupplierApply, SupplierApplyService> {
//
//    @GetMapping("/page")
//    public R page(Page<SupplierApply> page, SupplierApplyQueryReq req) {
//        return super.page(page, req);
//    }
//
//    @PostMapping("/first_audit")
//    public R firstAudit(@RequestBody SupplierApplyAuditReq req) {
//        boService.audit(req);
//        return R.ok();
//    }
//
//    @PostMapping("/final_audit")
//    public R finalAudit(@RequestBody SupplierApplyAuditReq req) {
//        boService.audit(req);
//        return R.ok();
//    }
//
//    @PostMapping("/find_audit_status")
//    public R findAuditStatus(@RequestBody SupplierQueryApplyProgressReq req) {
//        String statusText = boService.findAuditStatus(req.getMobile());
//        return R.ok(statusText);
//    }
//}
